package com.xing.crm.mapper;


import com.xing.crm.model.CourseOrder;
import com.xing.crm.model.MonthIncome;

import java.util.List;
import java.util.Map;

public interface CourseOrderMapper {

    public int findCountByMap(Map<String,Object> map);

    public List<CourseOrder> findListByMap(Map<String,Object> map);


   public void insert(CourseOrder order);


   public CourseOrder findByOrderId(String id);

    public void deleteByOrderId(String id);

    public void update(CourseOrder order);

   public   List<MonthIncome> getMonthIncomes();

    public List<CourseOrder> selectUser(CourseOrder courseOrder);
}
